You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@raydeck/xcode

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@raydeck/xcode

parser for xcodeproj/project.pbxproj files

2.2.1
latest
Source
npmnpm
Version published
Weekly downloads
883
7.81%
Maintainers
1
Weekly downloads
 
Created
Source

@raydeck/xcode

Ray Deck's fork fo the amazing work the Cordova team and [Alan Lunny]((https://github.com/alunny/node-xcode) before them put in on the pbxproject parser module. Building block for doing a lot more to support the manipulation of Xcode projects from javascript - expecially for react native

Example

// API is a bit wonky right now
const xcode = require('xcode'),
const { writeFileSync } = fs = require('fs'),
const projectPath = 'myproject.xcodeproj/project.pbxproj',
const myProj = xcode.project(projectPath);
// parsing is async, in a different process
myProj.parseSync()
myProj.addHeaderFile('foo.h');
myProj.addSourceFile('foo.m');
myProj.addFramework('FooKit.framework');
writeFileSync(projectPath, myProj.writeSync());
console.log('new project written');

License

Apache V2

FAQs

Package last updated on 13 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts